<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <HEAD>
  <TITLE>开心13刀</TITLE>
  <META NAME="Generator" CONTENT="EditPlus">
  <META NAME="Author" CONTENT="">
  <META NAME="Keywords" CONTENT="">
  <META NAME="Description" CONTENT="">
  <meta charset="UTF-8" />
  <link href='static/css/main.css' rel="stylesheet" type="text/css"/>
 </HEAD>
 <BODY>
 <div id="initpage">
 	<div class="user_image">
 		<img src="" id="user_image" width='100' height='100' style="margin-bottom: 5px;"></img>
 		<p>
 			<span>欢迎您：</span><span id='user_name'></span>
 		</p>
 	</div>
 	<div class="select_start_mode">
 		<div class="button_start open">立即试玩</div>
 		<div class='button_start_select' style="display:none;"><span class="jianjiao"></span><li nums=2>双人对战</li><li nums=3>三人游戏</li><li nums=4>四人混战</li></div>
		<div class="button_start close" title="即将开启，敬请期待！" act="即将开启，敬请期待！">网上对战</div>
 	</div>
 </div>
 <div id='showArea' style="display:none;">
	<div class='header'><div class="resultarea"></div><div class='paiarea' id='gamer_2'></div><div class="music_play"></div><div class="last_pai_area"><div class="last_pai"></div>剩余<b id="last_pai_num">0</b></div></div>
	<div class='center'><div class='paiarea' id='gamer_3'></div><div class='paiarea' id='gamer_1'></div><div id="publicarea"><div class="loading"></div></div></div>
	<div class='paiarea' id='gamer_0'></div>
</div>
<div style="display:block;">
<EMBED allowNetworking="internal" pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=media&sba=plugin&" allowScriptAccess="never" type="application/x-mplayer2" showaudiocontrols="1" style="DISPLAY: block;WIDTH: 0px;HEIGHT: 0px;" src="static/images/douniu.mp3" loop=true autostart='true' hidden=true starttime="00:10" volume="30" id="music"></EMBED>
</div>
 </BODY>
</HTML><script></script>
<script src='static/js/jquery-1.4.2.min.js'></script>
<script src='static/js/other_fun.js'></script>
<script src='static/js/init.js'></script>
<script src='static/js/action.js'></script>
<script>
window.onload=function(){
	$('div.music_play').click(function(){
		switch(userBrowser()){
			case 'Chrome':if(music.style.display=='none'){music.style.display='block';}else{music.style.display='none';};break;
			default:$('#music').remove();
		}
	})
	$('div.open').click(function(){
		$('div.button_start_select').toggle(200);
	})
	$('div.button_start_select li').each(function(){
		$(this).click(function(){
			var num = $(this).attr('nums')
			$('div#initpage').hide()
			$('div#showArea').show()
			A.init(num)
		})
	})
	$('div.close').click(function(){
		alert('网络对战即将开启，敬请期待！')
	})
	var image = parent.GAMER_LIST_INFO[0].image
	if(image.indexOf('init')==-1){
		image = image.slice(0,image.lastIndexOf('/'))+'/100'
	}
	$('img#user_image').attr('src',image)
	$('span#user_name').text(parent.GAMER_LIST_INFO[0].name)
}
</script>
